<?php
    include_once("./service/bannerService.php");
    $leftBanner = getActiveLeftBanner();
    $rightBanner = getActiveRightBanner();
?>
<div class="left-floating-banner">
    <a target="_blank" href="./news-detail.php?a=<?php echo $leftBanner["BANNER_EVE_ID"]; ?>">
    	<?php 
			if(isset($leftBanner["BANNER_IMG_PATH"])){
		?>
	        <img src="<?php echo $leftBanner["BANNER_IMG_PATH"]; ?>" style="width:120px;height:600px;"/>
        <?php
			}
        ?>
    </a>
</div>
<div class="right-floating-banner">
    <a target="_blank" href="./news-detail.php?a=<?php echo $rightBanner["BANNER_EVE_ID"]; ?>">
    	<?php 
			if(isset($rightBanner["BANNER_IMG_PATH"])){
		?>
	        <img src="<?php echo $rightBanner["BANNER_IMG_PATH"]; ?>" style="width:120px;height:600px;"/>
        <?php
			}
        ?>
    </a>
</div>